[XEN] Add a warning about changeable size of shared_info structure.
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Sat, 12 Aug 2006 15:18:08 +0000 (16:18 +0100)
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>
Sat, 12 Aug 2006 15:18:08 +0000 (16:18 +0100)
commit3321c3c8e9489348f03aba13bc45eb155c90995e
tree5f4432ec18d3b7fb746476a61a5c1411da27652b
parentec0ebb15e535c111620fe47d90a24852a37f68ca
[XEN] Add a warning about changeable size of shared_info structure.

sizeof(shared_info_t) can change even in compatible hypervisor
versions.
Add a clear warning about this, and fix the few places relying on it.
In addition, add some padding to arch_shared_info, to allow future
additions to the structure without breaking known offsets of members
following it in the shared info.

Signed-off-by: John Levon <john.levon@sun.com>
tools/libxc/xc_hvm_build.c
tools/libxc/xc_linux_build.c
tools/libxc/xc_linux_restore.c
xen/include/public/arch-ia64.h
xen/include/public/arch-powerpc.h
xen/include/public/arch-x86_32.h
xen/include/public/arch-x86_64.h
xen/include/public/xen.h